import request from "../util/request";
//登录请求
export const loginRequest = (data) => {
  return request.post("/login", data)
}

//路由切换时 权限校验请求
export const isLoginRequest = () => {
  return request.get("/isLogin")
}